<app-child #chlid1></app-child>
<app-child #chlid2></app-child>
<button (click)="chlid2.greeting('美君')">调用chlid2的greeting方法</button>
<br>
{{message}}
